package com.how2java.tmall.web;

import com.how2java.tmall.feign.CenterFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpSession;

@Controller
public class FeignController {
    @Autowired
    CenterFeignService centerFeignService;

    @RequestMapping("/center/index")
    public ModelAndView ee(HttpSession session) {
        return centerFeignService.ee(session);
    }
}
